package com.ybwh.springboot2.sharding5.model.po;

import com.gitee.fastmybatis.annotation.Pk;
import com.gitee.fastmybatis.annotation.PkStrategy;
import com.gitee.fastmybatis.annotation.Table;
import lombok.Data;

import java.util.Date;

@Data
@Table(name = "t_order", pk = @Pk(name = "order_id", strategy = PkStrategy.NONE))
public class Order {
    /**
     * 主键
     */
    private Long orderId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 下单时间
     */
    private Date orderTime;


}